#ifndef __M_WORKER_H__
#define __M_WORKER_H__

#include "../mqcommon/thread_pool.hpp"

#include "../third/include/muduo/net/EventLoopThread.h"
#include "../third/include/muduo/proto/codec.h"
#include "../third/include/muduo/proto/dispatcher.h"

namespace zhong
{ 
    // 异步工作线程类
    class AsyncWorker
    {
    public:
        using ptr = std::shared_ptr<AsyncWorker>;
        muduo::net::EventLoopThread _loop_thread;
        threadpool _thread_pool;
    };
};

#endif